Optimal. Leaf size=134 \[ -\frac {2 a^3 \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{15 f \sqrt {a+a \sin (e+f x)}}-\frac {a^2 \cos (e+f x) \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{5/2}}{5 f}-\frac {a \cos (e+f x) (a+a \sin (e+f x))^{3/2} (c-c \sin (e+f x))^{5/2}}{5 f} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, antiderivative size = 134, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {2819, 2817}
\begin {gather*} -\frac {2 a^3 \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{15 f \sqrt {a \sin (e+f x)+a}}-\frac {a^2 \cos (e+f x) \sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{5/2}}{5 f}-\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{3/2} (c-c \sin (e+f x))^{5/2}}{5 f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2817
Rule 2819
Rubi steps
\begin {align*} \int (a+a \sin (e+f x))^{5/2} (c-c \sin (e+f x))^{5/2} \, dx &=-\frac {a \cos (e+f x) (a+a \sin (e+f x))^{3/2} (c-c \sin (e+f x))^{5/2}}{5 f}+\frac {1}{5} (4 a) \int (a+a \sin (e+f x))^{3/2} (c-c \sin (e+f x))^{5/2} \, dx\\ &=-\frac {a^2 \cos (e+f x) \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{5/2}}{5 f}-\frac {a \cos (e+f x) (a+a \sin (e+f x))^{3/2} (c-c \sin (e+f x))^{5/2}}{5 f}+\frac {1}{5} \left (2 a^2\right ) \int \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{5/2} \, dx\\ &=-\frac {2 a^3 \cos (e+f x) (c-c \sin (e+f x))^{5/2}}{15 f \sqrt {a+a \sin (e+f x)}}-\frac {a^2 \cos (e+f x) \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{5/2}}{5 f}-\frac {a \cos (e+f x) (a+a \sin (e+f x))^{3/2} (c-c \sin (e+f x))^{5/2}}{5 f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.32, size = 77, normalized size = 0.57 \begin {gather*} \frac {a^2 c^2 \sec (e+f x) \sqrt {a (1+\sin (e+f x))} \sqrt {c-c \sin (e+f x)} (150 \sin (e+f x)+25 \sin (3 (e+f x))+3 \sin (5 (e+f x)))}{240 f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 16.94, size = 67, normalized size = 0.50
method | result | size |
default | \(\frac {\left (3 \left (\cos ^{4}\left (f x +e \right )\right )+4 \left (\cos ^{2}\left (f x +e \right )\right )+8\right ) \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {5}{2}} \sin \left (f x +e \right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {5}{2}}}{15 f \cos \left (f x +e \right )^{5}}\) | \(67\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 91, normalized size = 0.68 \begin {gather*} \frac {{\left (3 \, a^{2} c^{2} \cos \left (f x + e\right )^{4} + 4 \, a^{2} c^{2} \cos \left (f x + e\right )^{2} + 8 \, a^{2} c^{2}\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c} \sin \left (f x + e\right )}{15 \, f \cos \left (f x + e\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.51, size = 165, normalized size = 1.23 \begin {gather*} -\frac {16 \, {\left (6 \, a^{2} c^{2} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{10} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) - 15 \, a^{2} c^{2} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{8} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 10 \, a^{2} c^{2} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{6} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sqrt {a} \sqrt {c}}{15 \, f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.50, size = 83, normalized size = 0.62 \begin {gather*} \frac {a^2\,c^2\,\sqrt {a\,\left (\sin \left (e+f\,x\right )+1\right )}\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}\,\left (175\,\sin \left (2\,e+2\,f\,x\right )+28\,\sin \left (4\,e+4\,f\,x\right )+3\,\sin \left (6\,e+6\,f\,x\right )\right )}{240\,f\,\left (\cos \left (2\,e+2\,f\,x\right )+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________